<?xml version="1.0" encoding="utf-8" ?>
<REPLACEMENT_SYSTEM>
	<!-- INPUTS section describes all inputs which can control selection of replacement items -->
	<INPUTS>
		<INPUT NAME="LIVERY" OPTIONS="5" />
	</INPUTS>

	<NAMES INPUT ="LIVERY">
		<NAME LIVERY="51" NAME="Livery 1" />
		<NAME LIVERY="52" NAME="Livery 2" />
		<NAME LIVERY="53" NAME="Livery 3" />
		<NAME LIVERY="54" NAME="Livery 4" />
		<NAME LIVERY="70" NAME="Sakuya Izayoi" />
		<NAME LIVERY="1" NAME="Preset Colour 1" />
		<NAME LIVERY="2" NAME="Preset Colour 2" />
		<NAME LIVERY="3" NAME="Preset Colour 3" />
		<NAME LIVERY="4" NAME="Preset Colour 4" />
		<NAME LIVERY="5" NAME="Preset Colour 5" />
		<NAME LIVERY="6" NAME="Preset Colour 6" />
		<NAME LIVERY="7" NAME="Preset Colour 7" />
		<NAME LIVERY="8" NAME="Preset Colour 8" />
		<NAME LIVERY="9" NAME="Preset Colour 9" />
		<NAME LIVERY="10" NAME="Preset Colour 10" />
		

	</NAMES>

	<!-- DEPENDENCY section describes inputs which depend on each other in that only some combinations are permitted -->
	<!-- this will only be used in game for the menu system, and in the editor -->

	<!-- CONDITION sections define what to replace and when to replace it		-->
	<!-- They are used in the same way for all situations				-->
	
	<!-- Simple case - exterior paint effecting two materials -->

	<CONDITION LIVERY="1">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_sunrise_red.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_sunrise_red_skin.mtx" />		
	</CONDITION>

	<CONDITION LIVERY="2">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_arctic_silver.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_arctic_silver_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="3">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_brilliant_black.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_brilliant_black_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="4">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_custom_silver.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_custom_silver_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="5">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_noble_white.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_noble_white_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="6">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_royal_maroon.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_royal_maroon_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="7">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_sapphire_blue.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_sapphire_blue_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="8">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_satin_gold.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_satin_gold_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="9">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_sunbeam_silver.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_sunbeam_silver_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="10">
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_tornado_silver.mtx" />
		<REPLACE MATERIAL="MAZDA_FC3S_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_mazda_tornado_silver_skin.mtx" />
	</CONDITION>

	<CONDITION LIVERY="51">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="MAZDA_FC3S_LIVERY01.dds" />
	</CONDITION>

	<CONDITION LIVERY="52">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="MAZDA_FC3S_LIVERY02.dds" />
	</CONDITION>

	<CONDITION LIVERY="53">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="MAZDA_FC3S_LIVERY03.dds" />
	</CONDITION>

	<CONDITION LIVERY="54">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="MAZDA_FC3S_LIVERY04.dds" />
	</CONDITION>

	<CONDITION LIVERY="70">
		<REPLACE TEXTURE="COMMON_PAINT.dds" NEWTEXTURE="SAKUYA_FC3S.dds" />
		<REPLACE TEXTURE="AMEMIYA_BLUE_HORNBUTTON_DIFFUSE.dds" NEWTEXTURE="AMEMIYA_RED_HORNBUTTON_DIFFUSE.dds" />
		<REPLACE TEXTURE="AMEMIYA_BLUE_HORNBUTTON_SPECULAR.dds" NEWTEXTURE="AMEMIYA_RED_HORNBUTTON_SPECULAR.dds" />
		<REPLACE TEXTURE="AMEMIYA_BLUE_HORNBUTTON_NORMALS.dds" NEWTEXTURE="AMEMIYA_RED_HORNBUTTON_NORMALS.dds" />
		<REPLACE TEXTURE="BRIDE_WITH_SABELT_DIFFUSE.dds" NEWTEXTURE="BRIDE_WITH_SABELT_RED_DIFFUSE.dds" />
		<REPLACE TEXTURE="FC3S_QUICKER_KNUB_DIFFUSE.dds" NEWTEXTURE="FC3S_QUICKER_KNUB_RED_DIFFUSE.dds" />
		<REPLACE TEXTURE="AMEMIYA_LICENSEPLATE_DIFFUSE.dds" NEWTEXTURE="AMEMIYA_LICENSEPLATE_16_DIFFUSE.dds" />
		<REPLACE TEXTURE="AMEMIYA_LICENSEPLATE_SPECULAR.dds" NEWTEXTURE="AMEMIYA_LICENSEPLATE_16_SPECULAR.dds" />
		<REPLACE TEXTURE="AMEMIYA_LICENSEPLATE_NORMALS.dds" NEWTEXTURE="AMEMIYA_LICENSEPLATE_16_NORMALS.dds" />
		<REPLACE TEXTURE="AMEMIYA_LICENSEPLATE_GLOW.dds" NEWTEXTURE="AMEMIYA_LICENSEPLATE_16_GLOW.dds" />
		<REPLACE TEXTURE="AMEMIYA_PLATE_FRAMES_DIFFUSE.dds" NEWTEXTURE="AMEMIYA_PLATE_FRAMES_16_DIFFUSE.dds" />
		<REPLACE TEXTURE="AMEMIYA_PLATE_FRAMES_GLOW.dds" NEWTEXTURE="AMEMIYA_LICENSEPLATE_16_GLOW.dds" />
	</CONDITION>

</REPLACEMENT_SYSTEM>
